<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">


    <title>修改房间数据</title>
    <!-- Bootstrap -->
    <link rel="stylesheet" href="/static/css/buttons.css">
    <link href="/static/css/stylesheets.css" rel="stylesheet" type="text/css" />
    <link href="/static/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="/static/css/style_admin.css" rel="stylesheet" type="text/css">
    <link type="text/css" rel="stylesheet" media="all" href="/static/css/global.css" />
    <link type="text/css" rel="stylesheet" media="all" href="/static/css/global_color.css" />
    <link rel="stylesheet" href="/static/css/buttons.css">
    <link href="http://cdn.bootcss.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <!--[endif]-->
    <script src="/static/js/jquery-1.9.1.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="/static/js/html5shiv.js"></script>
    <script src="/static/js/respond.min.js"></script>
    <![endif]-->
    <!-- Javascript -->
    <script language="javascript" type="text/javascript">
        //保存成功的提示消息
        function showResult() {
            showResultDiv(true);
            window.setTimeout("showResultDiv(false);", 3000);
        }
        function showResultDiv(flag) {
            var divResult = document.getElementById("save_result_info");
            if (flag)
                divResult.style.display = "block";
            else
                divResult.style.display = "none";
        }
    </script>


</head>
<body>

<div class="header">
    <div class="logo">液位检测监控系统</div>

</div>

<div class="menu">

    <div class="breadLine">
        <div class="adminControl active">
            你好,{{.admin.UserName}}
        </div>
    </div>

    <ul class="navigation">
        <li>
            <a href="/admin/show_admin_index/{{.UserID}}">
                <span class="isw-bookmark" style="margin-top:5px;"></span>
                <span class="text">主界面</span>
            </a>
        </li>
        <li>
            <a  class="a-alert test" href="/admin/show_admins_list/{{.UserID}}">
                <span class="isw-user" style="margin-top:5px;"></span>
                <span class="text">用户数据库</span>
            </a>
        </li>
        <li>
            <a href="/admin/show_beds_list/{{.UserID}}">
                <span class="isw-documents" style="margin-top:5px;"></span>
                <span class="text">床位数据库</span>
            </a>
        </li>
        <li class="active">
            <a href="/admin/show_rooms_list/{{.UserID}}">
                <span class="isw-list" style="margin-top:5px;"></span>
                <span class="text">房间数据库</span>
            </a>
        </li>
        <li>
            <a href="/admin/show_departments_list/{{.UserID}}">
                <span class="isw-text-document" style="margin-top:5px;"></span>
                <span class="text">部门数据库</span>
            </a>
        </li>
        <li>
            <a href="/admin/index/{{.UserID}}">
                <span class="isw-graph" style="margin-top:5px;"></span>
                <span class="text">监控页面</span>
            </a>
        </li>
        <li>
            <a href="/admin/logout/{{.UserID}}">
                <span class="isw-cancel" style="margin-top:5px;"></span>
                <span class="text">退出系统</span>
            </a>
        </li>
    </ul>

    <div class="dr"><span></span></div>

    <div class="widget-fluid">
        <div id="menuDatepicker"></div>
    </div>

    <div class="dr"><span></span></div>

    <div class="widget-fluid">

        <div class="wBlock clearfix">
            <div class="dSpace">
                <h3>Last visits</h3>
                <span class="number">6,302</span>
                <span>5,774 <b>unique</b></span>
                <span>3,512 <b>returning</b></span>
            </div>
            <div class="rSpace">
                <h3>Today</h3>
                <span class="mChartBar" sparkType="bar" sparkBarColor="white"></span>
                <span>&nbsp;</span>
                <span>65% <b>New</b></span>
                <span>35% <b>Returning</b></span>
            </div>
        </div>

    </div>

</div>

<div class="main">
    <div class="pad20">
        <!--主要区域开始-->
        <div id="main-index">
            <div id="save_result_info" class="save_success">保存成功！</div>
            <div class="main-top">
                <p>添加床位</p>
            </div>
            <form action="" method="post" class="main_form">
                <input type="text" name="Id"  value="{{.room.Id}}" readonly="true" class="width200"/>

                <div class="text_info clearfix"><span>楼层号：</span></div>
                <div class="input_info">
                    <input type="text" name="Floor" value="{{.room.Floor}}" class="width200"/>
                    <span class="required">*</span>
                    <div class="validate_msg_medium">20长度以内的字母、数字的组合</div>
                </div>
                <!--<div class="text_info clearfix"><span>房间：</span></div>-->
                <!--<div class="input_info">-->
                <!--<select id="room" class="select_search">-->
                <!--&lt;!&ndash;<option></option>&ndash;&gt;-->
                <!--<option>儿科</option>-->
                <!--<option>妇科</option>-->
                <!--<option>x科</option>-->
                <!--<option>xx科</option>-->
                <!--</select>-->
                <!--</div>-->
                <!--<div class="text_info clearfix"><span>地址：</span></div>-->
                <!--<div class="input_info">-->
                <!--<input type="text"  class="width200" />-->
                <!--<span class="required">*</span>-->
                <!--&lt;!&ndash;<div class="validate_msg_medium">30长度以内的字母、数字和下划线的组合</div>&ndash;&gt;-->
                <!--</div>-->
                <div class="text_info clearfix"><span>房间号：</span></div>
                <div class="input_info">
                    <!--<input type="text"  class="width200" />-->
                    <input type="text" name="RoomNum" value="{{.room.RoomNum}}" class="width200"/>
                    <span class="required">*</span>
                    <!--<div class="validate_msg_medium">两次密码必须相同</div>-->
                </div>

                <!--<div class="text_info clearfix"><span>部门：</span></div>-->
                <!--<div class="input_info">-->
                <!--<select id="department" class="select_search">-->
                <!--&lt;!&ndash;<option></option>&ndash;&gt;-->
                <!--<option>儿科</option>-->
                <!--<option>妇科</option>-->
                <!--<option>x科</option>-->
                <!--<option>xx科</option>-->
                <!--</select>-->
                <!--</div>-->

                <div class="button_info clearfix">
                    <div class="buttons">
                        <button type="submit" class="button button-glow button-rounded button-raised button-primary"onclick="showResult();" />确定</button>
                        <button type="reset" class="button button-glow button-border button-rounded button-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
        <!--主要区域结束-->
    </div>
</div>

<!-- Javascript -->

</body>
</html>
